package org.hxzon.hdyn;

public class HRefFun extends HFun {

    private HFun fun;

    public HRefFun(HFun fun, HGlobal global) {
        super(global);
        this.fun = fun;
    }

    @Override
    public Object invoke(Object thiz, Object... params) {
        return fun.invoke(thiz, params);
    }
}
